package com.criticalbotch.ijnition;

import java.util.ArrayList;

public class EnjinTag {

	private int ID;
	private String name;
	private int visible;
	private ArrayList<Integer> users;

	public void addUser(int n) {
		users.add(n);
	}

	public void addUsers(ArrayList<Integer> u) {
		users.addAll(u);
	}

	public int getID() {
		return ID;
	}

	public String getName() {
		return name;
	}

	public ArrayList<Integer> getUsers() {
		return users;
	}

	public int getVisible() {
		return visible;
	}

	public void setID(int id) {
		ID = id;
	}

	public void setName(String n) {
		name = n;
	}

	public void setUsers(ArrayList<Integer> users) {
		this.users = users;
	}

	public void setVisible(int v) {
		visible = v;
	}

	@Override
	public String toString() {
		String ret = "";
		ret += "ID: " + getID() + "\n";
		ret += "Name: " + getName() + "\n";
		ret += "Visible: " + getVisible() + "\n";
		ret += "Users: " + getUsers() + "\n";

		return ret;
	}

}
